cmake_minimum_required(VERSION 3.27)
set(CMAKE_INSTALL_PREFIX "/home/xqyr/study/new_study/flie/nfs/root/opt" CACHE PATH "Installation prefix")
project(ledAPP)

set(CMAKE_CXX_STANDARD 17)

add_executable(${PROJECT_NAME} main.cpp
        cahrdevapp.cpp
        chardevapp.h
        ledapp.cpp
        ledapp.h)

install(TARGETS ${PROJECT_NAME} DESTINATION ${PROJECT_NAME})
